<%@ page language="java" contentType="text/html; charset=UTF-8"
	 pageEncoding="UTF-8"%>
<%@include file="/views/include/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="/views/include/nocachehead.jsp"%>
<title>Login</title>
<style type="text/css">
.Input {
	BORDER: #b2b2b2 1px solid;
	HEIGHT: 18px;
	WIDTH: 200px;
}
</style>
</head>
<body>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/js/login.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/js/md5.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/js/jquery.js"></script>
<form id="login" action="<%=request.getContextPath()%>/login.html" method="post">
<table>
	<tr height="36">
		<td align="right">email:</td>
		<td><input type="text" class="Input" id="email"
			name="email" value="${email}" size="24"
			onBlur="CheckEmail()"></td>
	</tr>
	<tr>
		<td colspan="2">
		<div id="email_div" style="display: none"><img
			id="email_img" /> <font id="email_font"></font></div>
		</td>
	</tr>
	<tr height="36">
		<td align="right">password:</td>
		<td><input type="password" class="Input" id="password"
			name="password" size="24"
			onBlur="CheckPassword('password','密码',32,6)">
			<input type="hidden" name="requestFrom" value="${requestScope.REQUEST_FROM}"/></td>
			
	</tr>
	<tr>
		<td colspan=2>

		<div id="password_div" style="display: none"><img
			id="password_img" /> <font id="password_font"></font></div>
		</td>
	</tr>
	<!-- 
	<c:set var="certcode" scope="page"
		value="${sessionScope.certcode}" />
	<c:choose>
		<c:when test="${certcode==null}">
		</c:when>
		<c:otherwise>
			<tr height="36">
				<td></td>
				<td><img id="certpic" border=0
					src="/skyline/util/MakeCertPic.jpg"> <a
					href="javascript:ChangCertPic()"><font size="2">看不清换一张</font></a></td>
			</tr>
			<tr height="36">
				<td align="right">验证码:</td>
				<td><input type="text" class="Input" id="certcode"
					name="certcode" size="24" onBlur="CheckCertCode('certcode','验证码')"></td>
			</tr>
			<tr>
				<td></td>
				<td>
				<div id="certcode_div" style="display: none"><img
					id="certcode_img" /> <font id="certcode_font"></font></div>
				</td>
			</tr>
		</c:otherwise>
	</c:choose>
	 -->
	<tr height="32">
		<td colspan="2" align="right"><input type="submit" value="submit" onclick="Login()"> &nbsp;&nbsp; <input
			type="button" value="找回密码" onclick=""></td>
	</tr>
</table>
</form>
<br>
<input type="button" value="注册"
	onclick="window.location.href='regist.html'">
</body>
</html>